package edu.whu.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.whu.demo.domain.Reminder;
import edu.whu.demo.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-11-25
 */
@Mapper
public interface ReminderDao extends BaseMapper<Reminder> {
    @Select("select * from reminder where send=0")
    List<Reminder> getAllReminders();

}
